package top.yzhao.trackdatasystem.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.yzhao.trackdatasystem.dao.SensorDao;
import top.yzhao.trackdatasystem.model.Sensor;
import top.yzhao.trackdatasystem.service.SensorService;

import java.util.List;

/**
 * User: zhaoyang
 * Date: 2020/3/13
 * Time: 18:19
 * Description: No Description
 */
@Service
public class SensorServiceImpl implements SensorService {
    @Autowired
    private SensorDao sensorDao;

    @Override
    public List<Sensor> getSensorList() {
        return sensorDao.getSensorList();
    }
}
